Adding SQLAlchemyInputObjectType#213
Adding SQLAlchemyInputObjectType#213Rafik-Belkadi wants to merge 3 commits intographql-python:masterfrom
Conversation
New Class which lets you give a model in a the meta class as input fields.
|
Hello @Rafik-Belkadi, thanks for sending a PR. I agree with you that there is potential for Since it's a whole new functionality, I suggest that before adding tests you start a separate issue / conversation that outlines what your goals are, the different strategies to go about this and your proposed solution (see #212 (comment)). You can see examples of recent successful design conversations here and here. These conversations are great way to gather early feedback and reach consensus before you start get into the details of the implementation. Obviously, if the problem you are solving is straightforward, the conversation does not need to be as long as these two examples. Here are some of the considerations that I think we should discuss as a group:
class ShipMutation(relay.ClientIDMutation):
class Input:
ship = graphene.Field(Ship)
ship = graphene.Field(Ship)
Cheers |
|
There are some discussions about the mutation support in #29 and https://gist.github.com/qubitron/6e7d48667a05120dc58bdfd0516b3980 seems to have helped some users. |
|
@jnak that might not work.
|
|
I'm getting this error while trying to use this code |
This fails with Is there a reason, why followed by the verbose Is not only very annoying to type out, it also look very inconsistent. I don't really need the |
|
@jnak Thanks for making this great library! Sorry for bringing back this old question again. I have seen many ppl request this feature
So, what is the next move for the improvement so that we can keep working on? |
|
More from GraphQL spec:
|
No description provided.